package com.springboot.frame.starter.intf;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * IntfEncry 的spring-boot启动器
 *
 * @author madman
 */
@Configuration
@EnableConfigurationProperties(IntfEncryptionProperties.class)
@ConditionalOnProperty(name = "web.intf.enabled")
@Import({DecodeRequestBodyAdvice.class, EncodeResponseBodyAdvice.class})
public class IntfEncryptionAutoConfiguration {
}
